﻿using System;

namespace LoggingMagic
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Logging Magic, Assembly enchanter.");

            if (args == null) return;

            foreach (var file in args)
            {
                var task = new LoggingTask { Assembly = file, References = null, RunFromExe = true, Injector = "StaticFieldMethodCall", Parameters = "log4net" };
                task.Execute();
            }
        }
    }
}
